package com.lovo.model.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/11/25
 */
@Data
public class UserDTO implements Serializable {


    private Integer userId;
    @ApiModelProperty(value = "用户名" ,required = true,example = "张飞")
    @NotBlank
    private String loginName;
    @ApiModelProperty(value = "密码" ,required = true,example = "321")
    @NotBlank
    private String pwd;
}
